package net.tv90.business.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true, value = "subject")
public class Subject {

    @TableId(type = IdType.AUTO)
    Long id;

    String name;

    Integer difficulty;

    Integer selected;

    Integer status;

    Long studentId;

    Long teacherId;
}
